package com.ly.mpayment.persist.entity;


import javax.persistence.*;
import java.util.Date;

@Entity
@Table(name = "call_order")
public class CallOrder {

    private String orderId;
    private int callNum;
    private Date callTime;
    private int callStatus;

    @Id
    @Column(name = "order_id", unique = true,nullable=false)
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @Column(name="call_num")
    public int getCallNum() {
        return callNum;
    }

    public void setCallNum(int callNum) {
        this.callNum = callNum;
    }

    @Column(name="call_time")
    public Date getCallTime() {
        return callTime;
    }

    public void setCallTime(Date callTime) {
        this.callTime = callTime;
    }

    @Column(name="call_status")
    public int getCallStatus() {
        return callStatus;
    }

    public void setCallStatus(int callStatus) {
        this.callStatus = callStatus;
    }
}
